import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false;

//全局样式
import '@/assets/css/global.css'

//自定义设置
import settings from '@/assets/js/settings'

Vue.prototype.$settings = settings;
//在所有需要与后台交互的组件中：this.$settings.base_url + '再拼接具体后台路由'

// ajax配置 axios
import axios from 'axios'
Vue.prototype.$axios = axios;

// cookies操作
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies;

// element-ui页面组件框架
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


// bootstrap+jq配置：cnpm install jquery、cnpm install bootstrap@3
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'



new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');
